local Player = require 'packages.chess-games.nchess.core.player'

---@class NChess.ServerPlayer : NChess.Player, ServerPlayerBase
---@field public ai NChess.AI
local ServerPlayer = Player:subclass("NChess.ServerPlayer")
ServerPlayer:include(Fk.Base.ServerPlayerBase)

local AI = require "packages.chess-games.nchess.server.ai"

function ServerPlayer:initialize(_self)
  Player.initialize(self)
  Fk.Base.ServerPlayerBase.initialize(self, _self)

  self.ai = AI:new(self)
end

return ServerPlayer
